
// node for Priority que to sort in ascening order of value
public class PQNodeAsc extends PQNode {
	public PQNodeAsc(int index, float value) {
		super(index, value);
	}
	public int compareTo(PQNode node) {
		if (mIndex == node.mIndex) 
			return 0;

		return (int)(mValue - node.mValue);		
	}	
}
